![]() |
MPExitCriticalRegion |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Exits a critical region.
OSStatus MPExitCriticalRegion ( MPCriticalRegionID criticalRegion );
The ID of the critical region you want to exit.
A result code. If the task does not own the critical region specified by criticalRegion, MPExitCriticalRegion returns kMPInsufficientResourcesErr.
This function decrements the use count of the critical region object. When the use count reaches zero, ownership of the critical region object is released (which allows another task to use the critical region).
Also see the function MPEnterCriticalRegion.
Introduced with Multiprocessing Services 1.0.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)